package com.dayuanit.service;

import java.util.List;

import com.dayuanit.domain.User;
import com.dayuanit.vo.UserVO;


public interface UserService {

	void addUser(UserVO vo) throws Exception;
	
	User getUser(String userName);
	
	List<User> listUser(String userName);

	User getUserByCode(String code);

	boolean modifyState(User user);

	boolean modifyPassword(User user);
	
	User login(UserVO vo) throws Exception;

}
